import { RouterProvider } from 'react-router-dom'
import './App.scss'
import router from './router'

function App() {
  // api路由
  return <RouterProvider router={router} />
  // 组件路由
  // return (
  //   <BrowserRouter>
  //     <Router></Router>
  //   </BrowserRouter>
  // )
}

export default App
